package com.rykj.energy.database.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName("business_rotation")
@ApiModel("仪表实时展示中间数据表")
public class BusinessRotation extends BasePojo{

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "仪表id" )
    @TableField(value = "meterId")
    private Integer meterId;

    @ApiModelProperty(value = "排序号" )
    @TableField(value = "orderNo")
    private Integer orderNo;

    @ApiModelProperty(value = "用户Id" )
    @TableField(value = "userId")
    private Integer userId;

    @ApiModelProperty(value = "仪表名称" )
    @TableField(exist = false)
    private String meterName;

//    @ApiModelProperty(value = "仪表识别记过" )
//    @TableField(exist = false)
//    private List<MeterResultDetail> resultDetailList;
}
